Click here to check if anything new just came in.
July 13 2011
February 21 2011
How to integrate Salesforce in Contact Form 7
A few weeks ago, I had to find a way to integrate leads from my WordPress sites into Salesforce. On most of my sites I use the popular plugin Contact Form 7. I spent hours searching for a way how I can integrate all the incoming leads from Contact Form 7 or cForms 2 (which will be my next post.) with Salesforce.
I found a way how to create leads in Salesforce using PHP: Salesforce´s Web to Lead. After that, I only had to integrate it somehow into Contact Form 7. And that is what I did. Contact Form 7 offers a hook that enables you to run your own function after form submisson called “wpcf7_before_send_mail“. I used this hook to collect the form data and create a lead in Salesforce using cURL.
Salesforce
Before you can start, you have to activate Web2Lead in Salesforce and create a Web-to-Lead Form:
- Go to Setup (go to you name on the top right and select Setup on the drop-down menu)
- Select Customize -> Leads -> Web-to-Lead on the left sidebar.
- Activate Web-to-Lead and create your Web-to-Lead form.
When you generate your code, you will find a hidden field called “oid”. Copy the value of this field an replace <YOU_SALESFORCE_OID> (you will find this in my code) with it. And you are done!
Contact Form 7
In your CF7 Form, make sure that each field has the right id. Take a look at $_POST data in my code to find the right IDs. Here is an example how your CF7 form code could look like:
1 2 3 4 5
<label>First Name <span>*</span></label>[text* your-firstname ] <label>Last Name <span>*</span></label>[text* your-lastname ] <label>Email <span>*</span></label>[email* your-email ] <label>Phone</label>[text your-phone ] <label>Message <span>*</span></label>[textarea* your-message ]
And here we go: Just add this code to your functions.php of your WordPress theme. I´m sure this code could be cleaner but it´s a start:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
add_action( 'wpcf7_before_send_mail', 'my_conversion' ); function my_conversion( $cf7 ) { $email = $cf7->posted_data["your-email"]; $first_name = $cf7->posted_data["your-firstname"]; $last_name = $cf7->posted_data["your-lastname"]; $phone = $cf7->posted_data["your-phone"]; $company = $cf7->posted_data["your-company"]; $message = $cf7->posted_data["your-message"]; $lead_source = $cf7->title; $post_items[] = 'oid=<YOU_SALESFORCE_OID>'; $post_items[] = 'first_name=' . $first_name; $post_items[] = 'last_name=' . $last_name; $post_items[] = 'email=' . $email; $post_items[] = 'phone=' . $phone; $post_items[] = 'company=' . $company; $post_items[] = 'description=' . $message; $post_items[] = 'lead_source=' . $lead_source; if(!empty($first_name) && !empty($last_name) && !empty($email) ) { $post_string = implode ('&', $post_items); // Create a new cURL resource $ch = curl_init(); if (curl_error($ch) != "") { // error handling } $con_url = 'https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8'; curl_setopt($ch, CURLOPT_URL, $con_url); // Set the method to POST curl_setopt($ch, CURLOPT_POST, 1); // Pass POST data curl_setopt( $ch, CURLOPT_POSTFIELDS, $post_string); curl_exec($ch); // Post to Salesforce curl_close($ch); // close cURL resource } }
November 05 2010
New York City – Wochenende
Vor kurzem waren wir ein Wochenende in der Stadt die niemals schläft, New York City. Unsere Unterkunft war direkt in Manhatten und mit der Subway erreichbar. Durch die Bustour haben wir viele Sights der Stadt gesehen und uns durch den Wind auch ordentlich verkühlt
Auch hier wieder einige Bilder:
New York City
Atlantic City – Wochenende
Unser Wochenende in Atlantic City – oder aus das Vegas der Ostküste – ist zwar schon eine Weile her, aber trotzdem einen Blogpost wert.
Hier einige Bilder:
Atlantic City
Philadelphia, PA, USA – Der erste Bericht
Wow, wie die Zeit vergeht. Genau 9 Wochen bin ich nun schon hier in Amerika, genauer gesagt in Philadelphia. Die ersten Wochen waren ein ziemliches Chaos. Es dauert eben, bis man alles geregelt hat und wieder einen normalen Altag hat.Darum haben ich mir bis jetzt auch sehr wenig Zeit für den Blog genommen.
Um die erste Frage gleich mal zu beantworten: JA, es ist GEIL hier.
Ich habe mich ziemlich gut eingelebt, viele neue Leute kennengelernt, die Wohnung eingerichtet und schon etwas umhergereist. Bis jetzt haben wir Philadelphia, New York und Atlantic City erkundet. Das waren wirklich sind Städte und Erlebnisse, die wir da gesammelt haben. Hier sind einige Fotos von unseren Ausflügen:
Philadelphia
Das war aber noch lange nicht alles. Da wir auch noch eine Weile – haha 10 Monate – hier sind haben wir aber auch keinen Stress. Die nächsten Ausfügen werden uns zu den Niagara Fällen, nach Washington D.C., später dann nach Miami und Orlando führen. Somit haben wir schon einen Großteil unserer Reiseziele hinter uns.
Wenns Fragen gibt, hier darunter ist ein Kommentar-Feld
Schönen Grüße aus Philadelphia!
Weitere ähnliche Artikel:
April 11 2010
April 08 2010
April 06 2010
April 01 2010
March 31 2010
March 30 2010
March 18 2010
How Banks Make Business Loans
Banks look beyond credit scores. Before the recession, business credit scores were often the biggest factor in determining which companies were eligible for loans and credit lines. But banks no longer trust the scores as an indicator of a borrower's ability to repay. Instead, as the Wall Street Journal reports, large lenders are looking to cash flow and collateral. "It's a lagging indicator," a commercial banking executive at Bank of America tells the Journal. "We are underwriting more on a traditional basis. We look at the full picture." Lenders continue to look at owners' personal-credit scores as an indicator of character and "intent to pay back." Check out our recent Case Study, When Your Bank Stops Lending, which looks at an audio technology company whose bank cut its credit despite the fact that the company hadn't missed a payment in three years.
Red Bull's latest marketing gambit. It's a $220 million soccer stadium built on a former industrial waste site in Jersey. The Wall Street Journal reports on the quirky marketing tactics employed by Red Bull founder Dietrich Mateschitz, who has sponsored airplane races, built snowboard half-pipes, and, most recently, bit big on the future of American soccer. The stadium is "the biggest and most visible foreign investment ever made in professional soccer in the U.S.,” according to the Journal, despite the fact that many MLS teams have struggled to drive attendance and only two are profitable. The unorthodox marketing stategy seems to have paid off for the drink company. The Journal notes that Red Bull has carved out a 33 percent market share despite fierce competition from larger companies like Coke and Pepsi.
Mobile Web takes off in China. The number of cell phones with Internet capabilities in China is approaching 1 billion, according to a recent report by eMarketer. Meanwhile, Techcrunch notes that although mobile subscriber growth in China is actually slowing--since most people have cell phones--the percentage of people who can connect to the Internet on their phones is accelerating rapidly.
20 NYC Start-ups to Watch. Business Insider changes the tune of their ongoing Silicon Valley vs. NYC debate to look at the actual companies that are shaping New York's burgeoning digital renaissance. Some of the names of these purported next big things will look familiar to Inc. readers--Kickstarter, Etsy, Foursquare, and Buzzfeed have graced our pages before. Hunch co-founder Caterina Fake is even on this month's cover story on productivity. But there are also some less familiar upstarts to keep an eye on, like AppNexus, which lets advertisers track and change their campaigns on the fly, and MakerBot, which makes cheap 3D printers.
Why it pays to have passion. It goes without saying that launching a new business takes a great deal of effort, but Seattle-based VC Andy Sack explains why it is important for start-up founders to have a true passion for what they're doing. Passion, Sack says, is what allows entrepreneurs to continually power through the long hours and stay motivated when they get rejected by potential customers, investors, or employees. As he puts it, "Founders inevitably will have to overcome rough patches and patches where they don't know what the right answer is. Enter passion. Passion makes overcoming this lack of answers possible and fun."
Road trip as incubator. Here's a novel idea for how to come up with a start-up idea. Last week, 25 entrepreneurs boarded the Start-up Bus in San Francisco and spent the next 48 hours developing business ideas, which they then pitched to a panel of judges at the South by Southwest Festival in Austin. The winners, a dating site aggregator called DateBrowsr and a dorm room inventory manager called DormDorm, will receive personal coaching from Silicon Valley angel investor Naval Ravikant. Our own Nadine Heintz tracked down Elias Bizannes, the Australian tech executive who organized the road trip. "It takes a certain kind of person who is crazy enough to start a business in 48 hours and do it on a bus," he tells her.
A cheap reliable translation service? In the past we've written about the growing business of translation and language services, now TechCrunch profiles a company that aims to find the middle ground between costly translation by people and cheap but inaccurate translation by computers. The company, called Smartling, plans to do this by allowing its customers to chose between machine, professional, and crowdsourced translations. The company just raised $4 million to realize those efforts. If you're thinking of hopping into the industry you should check out our case study of a translation company that got stuck in the mud.
More from Inc. magazine:
Get this delivered to your inbox or get this on the Kindle.
Follow us on Twitter or Tumblr.
Friend us on Facebook.
Apply now for the 2010 Inc. 500|5000.
With some of his peers in the IT sector experiencing revenue dives of as much as 70 percent, SoftNice CEO Zafar Shaikh needed to find a way to stem the damage within his own company. Shaikh founded the Allentown, Pennsylvania-based company in 2001 to provide programming and web development services to clients. It wasn’t until 2006 that he began to focus on the IT subfield of business intelligence, a service that helps a company cut costs by organizing and analyzing historical data. This shift allowed SoftNice to grow from five employees and $600,000 in revenue in 2006 to 22 employees and $2.4 million in revenue in 2008.
But in the fall of that year business deteriorated. “Things started going down so fast that basically as each day went by things started sliding,” says Shaikh, “that is something I had never seen.” Clients were slashing their IT budgets and some were “so scared they were not talking about spending a single penny.” The company was losing $50,000 a month. Shaikh's strategy: compensate for his clients spending less by driving his sales department to be more aggressive and stepping up new customer recruitment. The result: Shaikh was able to stem loses at $200,000, roughly 10 percent of total revenue, compared to the larger losses experienced by others in his field.
2008 2009 ANNUAL REVENUE $2.4 MILLION $2.05 MILLION ADVERTISEMENT BUDGET $33,000 $20,000 ADVERTISEMENT AS A SHARE OF REVENUE 1.3 PERCENT 0.8 PERCENT FOOD, TRAVEL, & HOTEL BUDGET $39,703 $25,000 FOOD, TRAVEL, & HOTEL BUDGET AS A SHARE OF REVENUE 1.6 PERCENT 1.0 PERCENT REAL ESTATE (RENT) BUDGET $45,709 $29,110 REAL ESTATE (RENT) BUDGET AS A SHARE OF REVENUE 1.9 PERCENT 1.2 PERCENT SALES BUDGET $160,000 $220,000 SALES BUDGET A SHARE OF REVENUE 6.5 PERCENT 9 PERCENTAdvertising Budget SoftNice was able to shave $13,000 off its advertising budget by skimping on promotional products and retreating from efforts to seek new top talent. The company let its membership with online job boards lapse since they were no longer looking to expand, and they reduced spending on things like t-shirts, key chains, pens, and coffee mugs emblazoned with the company’s name. Food, Travel, and Hotel Budget Travel is an essential part of SoftNice’s business because their clients are geographically spread out and much of the work the company does for them must be handled on site. Shaikh had to scale down the comfort level for his employees on the road by choosing less expensive hotels and only subsidizing breakfast, instead of three daily meals, but he says employees understand the cut backs. Sales Budget SoftNice isn’t afraid to spend money, but Shaikh wants to make sure it gets spent wisely. In the only area of increased spending since last year, Shaikh forked over $60,000 to boost his sales force from two to three employees. Through Internet research and repeated cold calling, this small team has managed to double the number of projects the company is handling each month. But in particular, by taking advantage of the richer talent pool resulting from the recession, Shaikh hired a highly-skilled salesperson who single-handedly brought in $700,000 in business.
March 17 2010
March 15 2010
Apps
Sicherheit ist für Unternehmen das Wichtigste. Deshalb hat Google jetzt eine Informations-Microsite aufgeschalten, die die Sicherheit von Google Apps aufdröselt und die wichtigsten Fragen beantwortet. Darunter auch rechtliche Bestimmungen und Abkommen (Internetrecht, Firmenrecht usw.), Googles Datenschutzrichtlinien und Sicherheit, die Server-Performance der Realtime-Applikationen sowie die Transparenz im Umgang mit Kundendaten bei Google.
» Google Apps Trust
kommentieren | Fan werden bei Facebook - Google Buzz - Twitter
March 02 2010
Landingpage-Optimierung Tipp #4 - Gefahr durch Blicke
Sicher haben Sie meinen letzten Landingpage Tipp “Schau mir in die Augen” gelesen. Dort gehe ich schon auf die Möglichkeiten der Aufmerksamkeitssteuerung durch Blicke ein. Dieses Thema möchte ich in diesem Artikel vertiefen und eine mögliche Gefahr bei der Nutzung von Personen auf Landingpages aufzeigen.
“Eine Person auf einem großem Visual schaut Sie an. Sie können Ihre Blicke kaum davon lösen, so stark ist das Bedürfnis den Blick zu erwiedern. Kennen Sie das? Ich denke, dass ist jedem von uns schon einmal passiert.” So lautet die Einleitung in meinem Landingpage-Tipp #3. Auch für diesen Post passt diese Einleitung sehr gut, auch wenn die Bedeutung deutlich negativer gemeint ist.
Die These: Blicke können ablenken
Neben der Möglichkeit die Aufmerksamkeit durch Blicke zu lenken, liegt die Vermutung nahe, dass je nach Aufmachung der Landingpage Blicke auch ablenken können. Besonders, wenn die Person direkten Augenkontakt zum Nutzer sucht.
Die Eytracking-Testkandidaten
Die beiden Screenshots unterscheiden sich lediglich durch das Primär-Visual.
Version 1: Dose als Primär-Visual

Version 2: Frau als Primär-Visual

Der Versuchsaufbau
Per Eyetracking versuche ich herauszufinden, ob durch direkte Blicke in die Kamera Personen vom Content abgelenkt werden können. Den 10 Probanden wurden jeweils zwei Screenshots in einem 5-Sekundentest gezeigt. Unterbrochen wird der Test jeweils durch die üblichen 5 Sekunden Rauschen um die Blickposition zu neutralisieren. Die Reihenfolge der beiden Screens wurde pro Proband getauscht, so dass jeder Screenshot genau 5 Mal als erstes gezeigt wurde.
Es wurden den Probanden zwei Screenshots gezeigt um einen “Zweitkontakt” mit der Seite in den Test einzubeziehen. Insgesamt hatte der Proband somit 10 Sekunden Zeit alle Inhalte der Seite zu scannen und jedes Element anzusehen.
Die Ergebnisse
Heatmap 1: Dose

Deutlich zu erkennen ist, dass die Nutzer im Test viele Bereiche der Landingpage visuell aufnehmen. Jeder relevante Bereich zeigt Blickkontakte. Kein Bereich sticht wirklich hervor. Es ist eine relativ gleichmäßge Verteilung der Blicke.
Heatmap 2: Frau

Hier bietet sich uns ein komplett anderes Bild.Der Nutzer klebt förmlich an den Blicken der Frau und dem Sekundär-Visual der Drucker. Die Headline und die Call-to-Action werden noch wahrgenommen, der komplette Text fällt hinten runter und wird vom Nutzer missachtet.
Eytracking-Cluster
Cluster Dose:

Noch deutlicher erkennt man die fast gleichförmige Aufmerksamkeit der Nutzer in diesem Cluster. Runde 90% aller Probanden nehmen alle relevanten Elemente der Seite auf. Das Keyvisual wird nur von 78% wahrgenommen.
Cluster Frau:

Extrem ist hier vor allen Dingen die starke Fokussierung der Nutzer. 100% nehmen die Frau und die Drucker wahr. Die Headline nehmen nur noch 40% wahr. Die Call-to-Action liegt ähnlich wie beim ersten Beispiel bei rund 60%.
Fazit
Blicke durch Personen können Blicke nicht nur auf Call-to-Action lenken, sondern auch vom Content ablenken.
Das Problem beim Einsatz von Personen ist, dass hier nicht die Qualität des Produkts über eine positive Bewertung und somit eventuell über eine Konversion entscheidet, sondern nur die emotionale Region des Gehirns. D.h. passt uns “die Nase der Person” nicht kann dies schnell zu einem Abbruch des Besuchs führen. Dies geschieht häufig, ohne dass sich der Nutzer mit den weiteren Inhalten der Seite auseinander setzt und allein auf Basis von Sympathie.
Der Tanz auf Messers Schneide lohnt sich in vielen Fällen trotzdem. Durch Personen lassen sich definitv mehr Emotionen beim Nutzer erzeugen und Konverisonsraten steigern. Testen Sie und sie werden immer wichtige Informationen über Ihre Nutzer erfahren.
Beachten Sie auch den Test einer anderen Iterationsstufe dieser Landingpage bei Whichtestwon.com.
Für alle Statistikverliebten habe ich noch eine detaiilierte Aufstellung der Sichtkontakte der unterschiedlichen Area-of-Interests angefertigt.
Area-of-Interestes und Sichtkontakte


Ähnliche Beiträge:
- Landing-Page-Optimierung - Tipp #3 - Schau mir in die Augen
- Landing-Page-Optimierung - Tipp #1
- Landing-Page-Optimierung - Tipp #2
March 01 2010
Gewinnspiel: SYNCING.NET – Die Gewinner stehen fest
Gestern lief das Gewinnspiel von 2 x 2 Lizenzen für das Programm SYNCING.NET Professional auf meinem Blog alexhager.at aus. Mitgemacht haben 9 Teilnehmer, bei denen ich mich hiermit herzlichst bedanken möchte. Vielen Dank!
Aus diesen Teilnehmerpool wurde 2 Personen gezogen, die je 2 Lizenzen für Syncing.NET Professional erhalten:
Herzliche Gratulation!
Die Gewinner werden natürlich per E-Mail verständigt.
Nochmals DANKE an alle Teilnehmer!
Alex
Weitere ähnliche Artikel:
February 25 2010
February 10 2010
Beim Online-Einkauf mit Gutscheinen sparen.
Dies ist ein durch hallimash vermittelter, honorierter Eintrag
Als Internetmensch kaufe ich sehr viele Produkte (keine Kleidung und Nahrung) im Internet. Der Einkauf im Internet hat viele Vorteile, aber auch einige Nachteile wie z.B. den fehlenden Service-Shop in der Nähe.
Ein großer Vorteil beim Einkauf im Internet ist, dass fast jedes Produkt im Internet billiger ist als im Handel, da oft nicht so viele Zwischenhändler mitfinanziert werden müssen.
Ein weiter Vorteil ist, dass es im Internet für viele Shops Gutscheine gibt. Da wäre es doch toll, ein zentrales Portal zu haben, welches solche Gutscheine anbietet:
![]()
Tom´s Gutscheine
heisst das neue Portal, auf den man KOSTENLOS und OHNE Anmeldung nach Gutscheinen und Coupons suchen kann. Diese Webseite ist sehr einfach zu bedienen und hat eine Such-Funktion. Somit kann der gewünschte Shop oder Guschein schnell gefunden werden.
Ganz toll ist auch, dass es eine Auflistung aller Shops gibt, somit hat man einen Überblick und sieht sofort wie groß das Angebot von Tom´s Gutscheine ist.
Auch witzig: Mit dem Firefox-AddOn Tom´s Gutscheinmelder wird man über neue Gutscheine sofort benachrichtigt.
Und da wir uns ja im Web2.0 Zeitalter befinden, können die neusten Gutscheine auch als RSS-Feed abonniert werden.
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...










Twitter marketing is on the edge of going mainstream, and although much of the market doesn’t quite accept it yet, the truth is that it’s coming, and now is the time to get in on the action.
